#ifndef COMPILE_ONLINE

#include "header.cpp"

#endif

void Test1()
{
    std::vector<int> v = {1,2,3,4};
    int ret = Solution().GetMaxNum(v);
    if(ret == 4)
        std::cout << "测试用例1通过...Ok\n";
    else  
        std::cout << "测试用例1未通过...Failed\n";
}

void Test2()
{
    std::vector<int> v = {-1,-2,-3,-4};
    int ret = Solution().GetMaxNum(v);
    if(ret == -1)
        std::cout << "测试用例2通过...Ok\n";
    else  
        std::cout << "测试用例2未通过...Failed\n";
}

void Test3()
{
    std::vector<int> v = {5,3,-1,4,9};
    int ret = Solution().GetMaxNum(v);
    if(ret == 9)
        std::cout << "测试用例3通过...Ok\n";
    else  
        std::cout << "测试用例3未通过...Failed\n";
}

int main()
{

    Test1();
    Test2();
    Test3();

    return 0;
}